parse

fun parse(str: String, decimalChar: Char, quickDecimal: Boolean = false): Long

Parse the given amount string given the provided decimal character. If quickDecimal is true and getDecimalPlaces() is 2 then a decimal point will be inserted into the string so that "1234" will be parsed as if the user entered "12.34"